package fr.inserm.u915.organifooyi.model;

public class SearchHit
	{
	DataType dataType;
	Long id;
	String label;
	
	public SearchHit(DataType dataType, Long id, String label) {
		this.dataType = dataType;
		this.id = id;
		this.label = label;
	}

	public String getForwardTo()
		{
		return "/db/"+dataType+"/show/"+id;
		}
	}
